import request from '@/utils/request'
export function getWish(data) {
  return request({
    url: '/wishPool/getWishList',
    method: 'post',
    data,
  })
}
export function getWant(data) {
  return request({
    url: '/worker/getWorkerByPage',
    method: 'post',
    data,
  })
}

export function getWorkerInfo(id) {
  return request({
    url: '/worker/getWorkerInfo',
    method: 'get',
    params: { workerId: id },
  })
}

export function getWishInfo(id) {
  return request({
    url: '/wishPool/getWish',
    method: 'get',
    params: { wishId: id },
  })
}
